<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>Create a text link for HTML Help ActiveX control commands</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<body>

<h1>Create a text link for HTML Help ActiveX control commands
</h1>

<p>Using the HTML Help ActiveX control and JavaScript, you can create text links in an HTML file (such as a Related Topics links, Keyword links, or Associative links) that have the same effect as adding a button. By default, the ActiveX control will add a button to the help topic. When a user clicks the button, a list of topics will appear. Alternatively, the user can click a text link.

<p>To create a text link you must use a scripting language, such as JavaScript. You reference an instance of the ActiveX control and the command you want to use, and then link it to the text. For detailed information about using the <b>Click</b> and <b>HHClick</b> methods for text links, see the <a href="ms-its:hhaxref.chm::/ocx_mclick.htm">HTML Help ActiveX control reference</a>.
</p>

<h4>What do you want to do?</h4>

<table border="0" cellpadding="0" cellspacing="0">

<tr><td valign="top"><a href="htlink5.htm">
<img src="concept.gif" alt="Topic Link" border="0"></a></td><td>
<a href="htlink5.htm">Learn how to create a link to a command without using a button</a>
</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr><td valign="top"><a href="htalink4.htm">
<img src="concept.gif" alt="Topic Link" border="0"></a></td><td>
<a href="htalink4.htm">See an example of a text link used with an ALink</a>
</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr><td valign="top"><a href="win8.htm">
<img src="concept.gif" alt="Topic link" border="0"></a></td><td>
<a href="win8.htm">Assign a window type to a topic when linking</A>
</td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr>

<tr> <td valign="top"><a href="HTlink.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="HTlink.htm">About working with links</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
